package com.tbit.main.service.impl;

import com.tbit.main.dao.core.AddCountFeeDao;
import com.tbit.main.pojo.AddCountFee;
import com.tbit.main.service.AddCountFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LMY
 * @create 2021-09-01 20:29
 */
@Service("addCountFeeService")
public class AddCountFeeServiceImpl implements AddCountFeeService {

    @Autowired
    private AddCountFeeDao addCountFeeDao;

    @Override
    public AddCountFee getByAccountId(Integer accountId) {
        return addCountFeeDao.getByAccountId(accountId);
    }

    @Override
    public List<AddCountFee> getAll() {
        return addCountFeeDao.getAll();
    }
}
